<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>no.1</title>
    <script src="../angular.min.js"></script>
    <link rel="stylesheet" href="../bootstrap.min.css" type="text/css">
    <link href="index_1.css" rel="stylesheet" type="text/css">
    <script src="index_1.js"></script>
</head>
<body>
<div ng-app="apps" class="div_1" ng-init="firstNames='an'" ng-controller="myCtrl">
    <p>input: <input type="text" ng-model="name" class="input-sm"></p>

    <h3>Hi!{{name}}</h3>

    <p>姓名为 <span ng-bind="firstNames"></span></p>

    <p>姓名为 <span>{{firstNames}}</span></p>

    <p>我的第一个表达式： {{ 5 + 5 }}</p>

    <p>A　<input type="text" ng-model="firstName"></p>

    <p>C　<input type="text" ng-model="lastName"></p>

    <h3>{{firstName+lastName}}</h3>

    <li ng-repeat="item in list">
        <h4>{{($index+1)+":"+item}}</h4>

    </li>

    <form name="my">
        Email:
        <input type="email" name="myAddress" ng-model="texts">
        <span ng-show="my.myAddress.$error.email">不合法</span>

    </form>


</div>


</body>
</html>